package vo;

public class Inventory { //库存表
    private int inventory_id;//商品编号
    private String name;//商品名称
    private int count;//商品剩余数量

    public Inventory(int inventory_id, String name, int count) {
        this.inventory_id = inventory_id;
        this.name = name;
        this.count = count;
    }

    public Inventory(int inventory_id) {
        this.inventory_id = inventory_id;
    }

    public int getInventory_id() {
        return inventory_id;
    }

    public void setInventory_id(int inventory_id) {
        this.inventory_id = inventory_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
